package com.ice.work.moment.facade.user.model;


import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Description 资源
 * @Author DELL
 * @Create 2019-01-14
 * @Since 1.0.0
 */
@Data
@NoArgsConstructor
public class Resource  implements Serializable {

    private Long id;
    private String name;

    private String code;

    private Integer method;

    private String path;

    /**
     * 是否需要鉴权
     */
    private Integer auth;

    private String sign;

    /**
     * 作废 0 起用  1 作废
     */
    private Integer deprecated;
    /**
     * 数据状态 0 起用  1 作废
     */
    protected Integer dataStatus;

}
